package com.zhentao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.model.article.dto.ArticleHomeDto;
import com.zhentao.model.article.pojo.ApArticle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/*
 *云计算
 *魏子纹
 *2025/6/9
 */
@Mapper
public interface ArticleMapper extends BaseMapper<ApArticle> {
    // 载入文章列表方法
    List<ApArticle> loadArticleList(@Param("dto") ArticleHomeDto articleHomeDto,@Param("type") Integer type);

}
